package com.wt.admin.domain.entity.language;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wt.admin.config.JacksonTypeHandler;
import com.wt.admin.domain.entity.PublicEntity;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "language_sentence")
public class SentenceEntity extends PublicEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "classification_id")
    private Integer classificationId;

    @TableField(value = "sentence")
    private String sentence;

    @TableField(value = "training")
    private Integer training;

    @TableField(value = "taggings",typeHandler = JacksonTypeHandler.class)
    private List<Object> taggings;


}
